
{[assign var="in_item" value="`$result`"]}

{[include file="finance/in/item/_view.tpl"]}

<table style="margin-top: 10px">
	<tr>
		<th width="40">序号</th>
		<th>流水号</th>	
		<th>币种</th>
		<th>金额</th>
		<th>人民币</th>
		<th>成本</th>
		<th>利润</th>
		<th>类型</th>
		<th>提成</th>
		<th>员工</th>				
		<th>状态</th>
		<th>备注</th>
	</tr>
	{[foreach name=outer key=key item=item from=$commission]} 
	{[assign var="no" value="`$key+1`"]} 
	{[assign var="t1" value="`$rmb+$item.amount`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.currency_t]}
		<td>{[$item.income|money]}</td>
		<td>{[$item.rmb|money]}</td>
		<td>{[$item.cost|money]}</td>
		<td>{[$item.profit|money]}</td>
		<td>{[$item.type_t]}</td>
		<td>{[$item.amount|money]}</td>
		
		<td>{[$item.emp_t]}</td>
		<td>{[$item.status_t]}</td>
		<td>{[$item.content|truncate:21:"...":true]}</td>		
	</tr>
	{[/foreach]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td colspan="8"></td>
		<td>{[$t1|money]}</td>
		<td colspan="3"></td>
	</tr>
</table>
